home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK2.toast / Development Kits (Disc 2) / ScriptX / Code Samples / autofind / readme.txt < prev   
Encoding:
Text File  |  1996-05-21  |  3.1 KB  |  66 lines  |  [TEXT/ttxt]

  1. This document is an introduction to running and building the AutoFinder
  2. ScriptX design example.
  3.  
  4. To run:
  5.  
  6. To start up Autofinder, double click on the autofind.sxt file.  The first
  7. scene that appears is the MainMenu screen.  This is a query into a used
  8. car database.  Make your selections of what car classification, year and
  9. price you are interested in.  (Note this is a demo and therefore the
  10. selections are limited!)  Now choose one of 3 destinations, the Vehicle
  11. Comparison, the Map, or the Classifieds, to view the cars that match your
  12. criteria.  
  13.  
  14. The Vehicle Comparison scene graphs the properties shown in the x and y
  15. axis labels for each of the models in the database that matched your
  16. criteria.  Change the properties by clicking on the x or y axis labels.  In
  17. addition, to tailor your selections further, drag the model cars you are no
  18. longer interested in to the junyard label in the bottom right corner.  The
  19. cars will drive off and be removed from your selected list.  (Note: to once
  20. again add these cars, you must return to the main menu and make your
  21. selections again.) 
  22.  
  23. The Map scene shows the location of these cars by displaying a pushpin. 
  24. Click on the pushpin to bring up a detail window on this car.  The detail
  25. window shows a picture along with a description of the car by default. 
  26. From here you can goto a detail map, or a notes page where you can type
  27. in additional information about the car.  From either of these pages you
  28. have option to print.
  29.  
  30. The Classifieds section shows a picture along with a short description
  31. of the cars that matched your criteria.  Click on the right and left
  32. arrows to move through the pages.
  33.  
  34.  
  35. To build:
  36.  
  37. The main title container for AutoFinder is "autofind.sxt". The title
  38. uses three library containers: "media.sxl", "cars.sxl", and "models.sxl".
  39. These library containers must be built before the title container.
  40.  
  41.     media.sxl - This library contains the media used by the AutoFinder
  42.     main title. Open the "media" subfolder and run "media.sx" to
  43.     rebuild the media library.
  44.     
  45.     models.sxl - This library contains information and graphics for
  46.     models of automobiles. The user will select from these models.
  47.     Open the "media" subfolder and run "mkmodels.sx" to rebuild the
  48.     car models library.
  49.     
  50.     cars.sxl - This library contains the classified ads information
  51.     which will be shown for the selected car models. Open the "media"
  52.     subfolder and run "mkcarads.sx" to rebuild the car ad library.
  53.  
  54.     interfac.sxl - This library contains the accessory interface module
  55.     defintion.  This is necessary to enable AutoFinder to communicate
  56.     with the Tape Measure Accessory object.  This library is re-created
  57.     everytime you run "loadme.sx".  The interfac.sxl file can be 
  58.     independently created by "interfac.sx" located in the "source" subfolder.
  59.  
  60.     autofind.sxt - To rebuild the main title, open the "source" subfolder
  61.     and run "loadme.sx". In that source file, the global variable
  62.     "buildOnly" determines if the title container is rebuilt and
  63.     replaced, or if instead the title is rebuilt and run from within
  64.     the ScriptX authoring environment. Change "buildOnly" to "true"
  65.     if you want to create a new "autofind.sxt" file.
  66.